<template>
  <div>
    <div class="container-one">
      <div class="button-box">
        <el-button @click="toPath('/mingHang')">人口流动情况</el-button>
        <el-button @click="toPath('/LoginView')">聊天室</el-button>
        <el-button @click="toPath('/mingHang')">窗口拖动</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    toPath(path) {
      this.$router.push(path);
    },
  },
};
</script>

<style lang="sass">
.container-one {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-box {
  display: flex;
  gap: 10px;
}

el-button {
  border-radius: 5px;
}
</style>